
<%@ page import="user.entity.User" %>
<%@ page import="jakarta.servlet.http.HttpSession" %>
<%--
  Created by IntelliJ IDEA.
  User: Damon
  Date: 2021/4/22
  Time: 17:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人信息/报名</title>
</head>
<body>
</body>
<%User user= (User) request.getAttribute("user1");
    HttpSession httpSession= request.getSession();
    httpSession.setAttribute("user",user);
%>
<form action="updateServlet" method="post">
    学号:<input type="text" name="uNum" value="<%=user.getNum() %>"/><br/>
    姓名:<input type="text" name="uName" value="<%=user.getName() %>"/><br/>
    性别:<input type="text" name="uSex" value="<%=user.getSex() %>"/><br/>
    年级:<input type="text" name="uGrade" value="<%=user.getGrade() %>"/><br/>
    专业:<input type="text" name="uMajor" value="<%=user.getMajor() %>"/><br/>
    电话:<input type="text" name="uNumber" value="<%=user.getNumber() %>"/><br/>
    方向:<input type="text" name="uDirection" value="<%=user.getDirection() %>"/><br/>
    技能:<input type="text" name="uSkill" value="<%=user.getSkill() %>"/><br/>
    自我介绍:<input type="text" name="uSelf" value="<%=user.getSelf() %>"/><br/>
    密码：<input type="text" name="uPwd" value="<%=user.getPassword() %>"/><br/>
    <input type="submit" value="修改"/>
<a href="sureInfo.jsp">点击查看完整信息</a>
</form>




  </body>

</html>
